package com.test.ddd.application.handler;

/**
 * @author csruan
 * @Copyright
 * @Description
 * @date 2021/9/9 10:51
 */
public interface CommandHandler<T, S> {
	/**
	 * 处理Command对象
	 * @param t
	 * @return
	 */
	S handle(T t);
}
